<%@ page language="java" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>权限管理系统</title>
		<meta http-equiv="pragma" content="no-cache">
		<script type="text/javascript">
			function loginout(){
				if(window.confirm("您确认要注销系统吗?")==true){
					parent.location.href="<%=path%>/loginOut.action";
				}
			}
			//修改密码
			function modifyPassword(){
				/* window.open ('editPwd.jsp','newwindow','height=100,width=400,top=0,left=0,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no'); */
				window.showModalDialog('editPwd.jsp',window,"dialogHeight=200;dialogWidth=300;center=yes;resizable=yes;status=no;help=no");
			}
		</script>
	</head>
	<body style="margin: 0;padding: 0;font-size: 12px;">
	<TABLE cellSpacing=0 cellPadding=0 width="100%"  background="<%=path%>/images/header_bg.jpg" border=0>
			<TR height=56>
				<TD width=260>
					<IMG height=56 src="<%=path%>/images/header_left.jpg" width=260>
				</TD>
				<TD style="FONT-WEIGHT: bold; COLOR: #fff; PADDING-TOP: 20px;font-size: 12px;"align=middle>
					当前用户：${user.name } &nbsp;&nbsp;
					<A style="COLOR: #fff;cursor: hand;font-size: 12px;"  target=main onclick="modifyPassword()">修改口令</A> &nbsp;&nbsp;
					<A style="COLOR: #fff;cursor: hand;font-size: 12px;" onclick="loginout()"   target=_top>退出系统</A>
				</TD>
				<TD align=right width=268>
					<IMG height=56 src="<%=path%>/images/header_right.jpg" width=268>
				</TD>
			</TR>
		</TABLE>
		<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
			<TR bgColor=#1c5db6 height=4>
				<TD></TD>
			</TR>
		</TABLE>
	</body>
</html>
